package com.kgcx.common.client.organization;

import com.kgcx.common.client.organization.pojo.Airport;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author 吴刚林
 * @date 2018/4/23
 */
@FeignClient(name = "organization")
public interface AirportClient {
    @GetMapping("airport/getAirportList")
    List<Airport> getAirportList(@RequestParam("cityId") Long cityId);
}
